//////////////////////////////////////////////////////////////////////////////////////////
//   _  _ ____ _  _ ___  ____                                                           //
//   |_/  |__| |\ | |  \ |  |    This file belongs to Kando, the cross-platform         //
//   | \_ |  | | \| |__/ |__|    pie menu. Read more on github.com/kando-menu/kando     //
//                                                                                      //
//////////////////////////////////////////////////////////////////////////////////////////

// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
// SPDX-License-Identifier: MIT

@use '../../variables.scss' as *;
@use '../../mixins.scss' as *;

.row {
  display: flex;

  color: $text-normal;

  .labelContainer {
    flex: 1;
    align-self: stretch;
    white-space: nowrap;

    .label {
      white-space: normal;
    }
  }

  &.clickable:active {
    transform: translateY(1px);
  }

  &.disabled {
    opacity: 0.5;
    pointer-events: none;
  }

  .widget {
    min-width: 0px;
    align-self: center;

    &.grow {
      flex: 2;

      &:only-child {
        max-width: unset;
      }
    }
  }
}
